package cn.ant0n;

import cn.ant0n.cpm.Consumer;
import cn.ant0n.cpm.Producer;
import cn.ant0n.cpm.Resource;

public class Main {
    public static void main(String[] args) {
        Resource resource = new Resource();
        Consumer consumer = new Consumer(resource);
        Producer producer = new Producer(resource);

        consumer.start();
        producer.start();
    }
}